const SolChain = require('./SolChain.js');
const config = require('./config.js');
const { Keypair, PublicKey } = require("@solana/web3.js");
const main = async () => {
    let admin = new PublicKey("gZu7TCzvpz3QPR52n7BHgQLodARAD9KjDJVcerD4P4W");
    let user1 = Keypair.fromSecretKey(new Uint8Array(config.powerAccount.secretKey));

    let solChain = new SolChain(config.nodeUrl);

    let ret = await solChain.sendSol(user1,admin, 7000000000);
    console.log('ret: ', ret);




}
main();
